package com.itgaoshu.hospitalproject.service.impl;

import com.itgaoshu.hospitalproject.bean.Record;
import com.itgaoshu.hospitalproject.mapper.RecordMapper;
import com.itgaoshu.hospitalproject.service.RecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class RecordServiceImpl implements RecordService {
    @Autowired
    private RecordMapper recordMapper;
    public List<Record> selrecord(Record record){
        return recordMapper.selrecord(record);
    }
    @Override
    public Integer addjilu(Record record) {
        return recordMapper.addjilu(record);
    }
}
